package com.example.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.entity.SDistrict;
import com.example.mapper.SDistrictMapper;
import com.example.service.SDistrictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 区域表 服务实现类
 * </p>
 *
 * @author zh
 * @since 2024-05-13 10:36:47
 */
@Service
public class SDistrictServiceImpl extends ServiceImpl<SDistrictMapper, SDistrict> implements SDistrictService {
    @Autowired
    private SDistrictMapper sDistrictMapper;

    @Override
    public List<SDistrict> findAll() {
        return sDistrictMapper.selectList(null);

    }
}
